package lexicalAnalysis.core;

public class Token {
	private String name;
	private String matcher;
	private String attribute;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMatcher() {
		return matcher;
	}

	public void setMatcher(String matcher) {
		this.matcher = matcher;
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}
	
	public String toString(){
		return this.getAttribute()==""?this.getName():this.getAttribute();
	}
	
}
